import request from '@/utils/request'

// 查询调度日志列表
export function listJoblog(query) {
  return request({
    url: '/monitor/joblog/list',
    method: 'get',
    params: query
  })
}

// 删除调度日志
export function delJoblog(ids) {
  return request({
    url: '/monitor/joblog/delete/' + ids,
    method: 'delete'
  })
}

// 清空调度日志
export function cleanJoblog(query) {
  return request({
    url: '/monitor/joblog/clean',
    method: 'delete',
    params: query
  })
}
